Repository navigation
drums mcp: custom tasks by task set, list/get task sets, verify without a task says so - #15
Merged
Merged
Conversation
…sk_set, a task document sent as a JSON string, and verify with no task says so (same tool list and messages as the gateway)
…3.9; the same line as #10)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed (A-08, A-09; the
drums mcphalf of Drums-Labs/drums#46)drums/mcp_tools.jsonis replaced with the gateway's new canonical file (36 tools). The file must be identical in both repos.create_computerandload_tasktaketask_set_id+task_id. The document is read from the gateway's newGET /v1/task-sets/{id}/tasks/{task_id}; a plain drumsd answers "not available on this server". They still taketask(a whole document) ortask_id(OSWorld). Error messages match the gateway's word for word.list_task_setsandget_task_settools.task(or any object argument) sent as a JSON string is parsed before validation (coerce_json_objects), as the gateway does.verifyon a computer with no task: drumsd's 400 becomes "no task loaded on this computer: use load_task (...)", or a line saying the loaded task has no checker this host can run.Tests
tests/test_mcp_server.py: the fake gateway gains task-set routes and a computer with no task. New tests cover custom tasks by set, by JSON string, and a bad string, plus verify without a task. The count assertions are now 36 (also intests/test_transport.py).Merge together with, or after, Drums-Labs/drums#46. Until that gateway is deployed,
task_set_idreturns the gateway's "no such route" as a tool error. Nothing else changes.